package user;

import java.sql.SQLException;
import java.util.List;

public interface UserDao {
	List<User> search(String name,String description,Boolean available,Integer role_id) throws SQLException;
	User getById(Integer id)  throws SQLException;
	int edit(User user) throws SQLException;
	int ban1(Integer id) throws SQLException;
	int ban(List<Integer> ids) throws SQLException;
	int add(User user) throws SQLException;
}
